package com.wing.product.model.response;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wing.mybatis.common.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Schema(description="入库明细表")
@Data
@EqualsAndHashCode(callSuper=true)
public class WarehouseStorageOrderDetailVO extends BaseEntity<WarehouseStorageOrderDetailVO> {

    @TableField(value = "warehouse_storage_order_id")
    @Schema(description="入库作业id")
    private Long warehouseStorageOrderId;

    @TableField(value = "product_unit_id")
    @Schema(description="单位id")
    private Long productUnitId;

    @TableField(value = "net_weight")
    @Schema(description="净重")
    private Double netWeight;

    @TableField(value = "gross_weight")
    @Schema(description="毛重")
    private Double grossWeight;

    @TableField(value = "price")
    @Schema(description="单价")
    private BigDecimal price;

    @TableField(value = "user_bundle_code")
    @Schema(description="捆包号")
    private String userBundleCode;

    @TableField(value = "sys_bundle_code")
    @Schema(description="条码")
    private String sysBundleCode;

    @Schema(description="库区名称")
    private String areaName;

    @Schema(description="库位编号")
    private String shelfSpaceLabelCode;

    @Schema(description="库存数")
    private String quantity;

    @Schema(description="入库类型")
    private String inventoryTypeName;
}
